export function addDialogForm() {
  return [
    {
      filterable: true,
      type: 'select',
      prop: 'channel_no',
      label: '渠道号',
      dicData: this.channelMap,
      props: { label: 'no', value: 'id' },
    },
    {
      filterable: true,
      type: 'select',
      prop: 'film_name',
      label: '影片名称',
      dicData: this.movieList,
      props: { label: 'name', value: 'id' },
      control: async (val, form) => {
        this.movieChilist = await this.getMovieChil(val)
        return {
          film_episode_no: {
            dicData: this.movieChilist,
          },
        }
      },
    },
    {
      filterable: true,
      type: 'select',
      prop: 'film_episode_no',
      label: '集名称',
      dicData: this.movieChilist,
      props: { label: 'episode_no', value: 'episode_no' },
    },
    {
      prop: 'base_link',
      label: '推广链接',
      value: 'https://m.shortstv.cc/player',
    },
    {
      type: 'radio',
      prop: 'generation_link',
      label: '推广链接状态',
      dicData: [
        { value: 0, label: '开启' },
        { value: 1, label: '停用' },
      ],
    },
  ]
}
